package rmi;

import java.rmi.Remote;
import java.rmi.RemoteException;

public interface BookManage extends Remote{
	
	int add(int a, int b) throws RemoteException;

	boolean add(Book b) throws RemoteException;

    Book queryById(int bookID) throws RemoteException;

    BookList queryByName(String name) throws RemoteException;

    boolean delete(int bookID) throws RemoteException;
}
